package io;

import java.io.FileNotFoundException;
import java.io.PrintWriter;

/**12
 *
 * 缓冲字符流
 *
 * Java.io.BufferedWriter和
 */
public class PWDemo {
    public static void main(String[] args) throws FileNotFoundException {


        PrintWriter pw = new PrintWriter("./pw.txt");
        pw.println("你好");
        pw.println("再见");
        System.out.println("写入完毕");
        pw.close();


    }
}
